package cn.dansj.common.utils.spring.reflect;

import java.lang.reflect.Method;

public interface Advice {
    default void before(Method m, Object[] args) {
    }

    default Object after(Method m, Object[] args, Object result) {
        return result;
    }

    default Throwable exception(Method m, Object[] args, Throwable throwable) {
        return throwable;
    }
}
